import http from '@/utils/http'
import { OpcuaData, Variable } from '@/api/opcua/types'

/**
 * @description 获取传感 数据字典接口
 * @param params
 */
export function getSensorData() {
  return http.get<OpcuaData[]>(
    `/admin/getSensordata`,
  )
}

/**
 * @description 获取传感 数据字典接口
 * @param params
 */
export function getVariables() {
  return http.get<Variable[]>(
    `/admin/variables`,
  )
}
